package org.framework.app.web.entity;

public class SysConstants {
	
	public static final String TRUE = "Y";

	public static final String FALSE = "N";
	
	public static final String USE_NO_STS = "P"; 
	
	public static final String USE_YES_STS = "A";
	

	public static final String FUNC_NODE_TYPE_MENU="M";
	public static final String FUNC_NODE_TYPE_BUTTON="B";
	
	public static final String MENU_ESB_NODE_ID="99999996";
	public static final String MENU_SYSTEM_NODE_ID="11000000";
	public static final Long ROOT_FUNC_NODE_ID= (long) 99999999;
	
	//定义资源数据表
	public static final String CONNECTOR = "CONNECTOR";
	public static final String PORT = "PORT";
	public static final String ATOMIC_LINE = "ATOMIC_LINE";
	public static final String PHYSICAL_CONN = "PHYSICAL_CONN";
	public static final String CABLE_SEGMENT = "CABLE_SEGMENT";
	
	
	public static final String SYS_ROLE_ID_SEQ = "SYS_ROLE_ID"; 
	public static final String SYS_USER_ROLE_ID_SEQ = "SYS_USER_ROLE_ID"; 
	public static final String SYS_USER_FUNC_ID_SEQ = "SYS_USER_FUNC_NODE_ID"; 
	public static final String SYS_USER_SHORTCUT_ID_SEQ = "SYS_USER_SHORTCUT_ID"; 
	public static final String SYS_USER_ID_SEQ_SEQ = "SYS_USER_ID"; 
	public static final String ORG_SYS_USER_ID_SEQ = "ORG_SYS_USER_ID"; 
	public static final String SYS_ROLE_FUNC_NODE_ID_SEQ = "SYS_ROLE_FUNC_NODE_ID"; 
	public static final String STAFF_ID_SEQ = "STAFF_ID"; 
	public static final String FUN_NODE_ID_SEQ = "FUN_NODE_ID"; 
	public static final String AREA_ID_SEQ = "AREA_ID"; 
	public static final String ORG_ID_SEQ = "ORG_ID"; 
	public static final String AREA_ORG_ID_SEQ = "AREA_ORG_ID";  
	public static final String INVOICE_STUB_ID_SEQ = "INVOICE_STUB_ID"; 
	public static final String AUDIT_ERROR_ID_SQL_SEQ = "AUDIT_ERROR_ID"; 
	public static final String SERVICE_PROVIDER_ID_SEQ = "SERVICE_PROVIDER_ID"; 
	public static final String SERVICE_DOMAIN_ID_SEQ = "SERVICE_DOMAIN_ID";
	public static final String SERVICE_ID_SEQ = "SERVICE_ID";
	public static final String GEO_REGION_ID_SEQ = "GEO_REGION_ID";
	public static final String EIS_ID_SEQ = "EIS_ID";
	public static final String SERVICE_AUTH_ID_SEQ = "SERVICE_AUTH_ID";
	public static final String EXCH_ID_SEQ = "EXCH_ID";
	public static final String BULLETIN_ID_SEQ = "BULLETIN_ID"; 
	public static final String SYS_AREA_CONFIG_ID_SEQ = "SYS_AREA_CONFIG_ID"; 
	public static final String APP_TABLE_ID_SEQ = "APP_TABLE_ID"; 
	public static final String STATION_ID_SEQ = "STATION_ID"; 
	public static final String ROOM_ID_SEQ = "ROOM_ID"; 
	public static final String STANDARD_ADDR_ID_SEQ = "STANDARD_ADDR_ID"; 
	public static final String ADDR_UNIT_SEQ = "ADDR_UNIT_ID"; 
	public static final String BUILDING_SEQ = "BUILDING_ID"; 
	public static final String CABLE_MODEL_ID_SEQ = "CABLE_MODEL_ID"; 
	public static final String CABLE_ID_SEQ = "CABLE_ID";  
	public static final String CABLE_SEGMENT_ID_SEQ = "CABLE_SEGMENT_ID";
	public static final String TIE_ID_SEQ = "TIE_ID"; 
	public static final String PHYSICAL_CONN_ID_SEQ = "PHYSICAL_CONN_ID"; 
	public static final String ATOMIC_LINE_ID_SEQ = "ATOMIC_LINE_ID"; 
	public static final String DEFAULT_USER_PASSWORD="123456";
	
	public static final String STRUCURE_TYPE_H = "H";
	public static final String STRUCURE_TYPE_V = "V";
	
	public static final String PARA_MAP_METHOD_NAME = "methodName";
    
    public static final String CON_JSON_RESULT_VALUE_KEY="CON_JSON_RESULT_VALUE_KEY";//返回json格式标识
	// 存储过程调用返回值
	public static final String CALL_PROCEDURE_RET_VALUE = "VALUE";// 返回值
	public static final String CALL_PROCEDURE_RET_STATUS = "RET_STATUS";// 返回状态
	public static final String CALL_PROCEDURE_RET_DESC = "RET_DESC";// 返回描述	
	public static final String CALL_PROCEDURE_RET_MAP = "RET_MAP";
	
	public static final String ALLOW_AUTH_USE_ONLY = "U"; 
	public static final String ALLOW_AUTH_USE_ALLOW = "T";  
	public static final String ALLOW_AUTH_ALLOW_ONLY = "A"; 
	
	//####################################以下定义sysconfig
	public static final String SHOW_AUDIT_CONFIG_ID="9999999999"; //登录页面是否显示验证码
	public static final String NAVIGATION_DEFAULT_MENU_CONFIG_ID="9999999998";//导航菜单默认显示那个菜单
	public static final String CALL_INSPURE_JMJ_CONFIG_ID="9999999997"; //是否调用浪潮加密机
	public static final String SYS_CONFIG_PANO_MONI_REFRESH_CYCLE = "9999999990";//全景监控自动刷新周期配置
	public static final String SYS_CONFIG_LOCAL_NET_SPEC = "21007";//本地网的区域规格
	public static final String SYS_CONFIG_SERV_AREA_SPEC = "21008";//服务区的区域规格
	public static final String SYS_CONFIG_AREA_DIMENSION = "21009";//服务区的区域规格
	
	
	

	public static final String SYS_ROW_LIMIT = "21009";
	
	public static final String SYS_CONFIG_TYPE_PROVINCE = "G";

	public static final String SYS_CONFIG_TYPE_LOCALNET = "L";

	public static final String SYS_CONFIG_TYPE_AREA = "A";

	public static final String SYS_CONFIG_TYPE_WORKAREA = "W";

	public static final String SYS_CONFIG_TYPE_EXCH = "E";

	public static final String SYS_CONFIG_TYPE_WORKTYPE = "T";
	

	public static final String SYS_CONFIG_LUCENE_DIR = "216000";
	
	public static final String SYS_CONFIG_RMS_FN_ALLOC_URL = "15000";
	
	public static final String SYS_CONFIG_RMS_ROLE_ALLOC_URL = "15100";
	
	public static final String SYS_CONFIG_RMS_WORKAREA_ALLOC_URL = "15300";
	
	public static final String SYS_CONFIG_PHASE_NOTIFY_FLAG = "215047"; 
	
	public static final String SYS_CONFIG_REPLY_WO_FLAG = "215048"; 
	
	public static final String SYS_CONFIG_IVR_REPLY_WO_FLAG = "215049";
	
	public static final String SYS_CONFIG_WSURL_SAS_CS = "215003";
	
	public static final String SAS2CsService = "ossWebservice"; 
	
	public static final String SYS_CONFIG_JMJ_IPCONFIG = "216003";
	
	public static final String SYS_CONFIG_JMJ_ISDOSEC = "216005";
	
	public static final String LOAD_BALANCE_RANDOM = "R"; 
	
	public static final String LOAD_BALANCE_TURN = "T";  
	
	public static final String LOAD_BALANCE_DEFAULT = "N"; 
	
	//
	public static final String SYS_CONFIG_LOAD_BALANCE = "1000";
	
	public static final String JSM_PRIORITY_KEY = "JMSPriority"; 
	
	public static final String LIMITTD_QUERY_RECORD = "110019"; 
	
	public static final String SYS_CONFIG_IS_EJB_REMOTE = "21014";
	public static final String SYS_CONFIG_SECURITY_CODE_PATH="100000000";
	public static final String SYS_CONFIG_AUDIT_FILE_PATH="100000001";
	public static final String SYS_CONFIG_AUDIT_FILE_BAK_PATH="100000002";
	public static final String SYS_CONFIG_AUDIT_RESP_SUC="0000";
	public static final String SYS_CONFIG_AUDIT_RESP_FAIL_0104 = "0104";//数据一致性管理响应错误代码
	

	public static final String BOSS_FILE_TYPE_INIT="D";
	
	public static final String BOSS_FILE_SEQ_INIT="0001";
	
	
	public static final String SUCCESS_RES = "C";  
	public static final String FAIL_RES = "T"; 
	

	public static final String ACT_TYPE_PRINT="0";
	public static final String ACT_TYPE_INVALID="1";
	public static final String ACT_TYPE_NULL_WASTE="-1";
	
	public static final String  ERROR_XML="1040001";
	
	public static final String INVOICE_STATE_NORMAL="S"; 
	public static final String INVOICE_STATE_ERROR="E";  
	public static final String INVOICE_STATE_QUIT="Q";  
	public static final String INVOICE_STATE_WASTE="W";  
	public static final String INVOICE_STATE_NULL="N";   
	public static final String INVOICE_STATE_WASTE_FOR_INSPURE="1";   
	public static final String INVOICE_STATE_COMMON_FOR_INSPURE="0";   
	//���״̬
	public static final String INVOICE_STATE_AUDIT_Y="Y";  
	public static final String INVOICE_STATE_AUDIT_N="N"; 
	public static final String INVOICE_STATE_AUDIT_E="E";  
	
	
	public static final String EXCEPTION_CODE_WASTE="1010001";
	public static final String EXCEPTION_FIND_NO_STUB="1020001";
	public static final String EXCEPTION_HAS_STUB="1030001";
	public static final String EXCEPTION_XML_EXCEPTION="1040001";
	public static final String EXCEPTION_STUB_EXISTMORE="1050001";
	public static final String EXCEPTION_JMJ="1060001";

	
	public static final String RETURN_TYPE_SUC="C";
	public static final String RETURN_TYPE_ERROR="T";
	public static final String RETURN_TYPE_AUDIT_ERROR="F";
	
	public static final String AUDIT_TYPE_DAY="D";
	public static final String AUDIT_TYPE_GET="G";
	
	public static final String END_FLAG_Y="Y";
	public static final String END_FLAG_N="N";
	
	
	public static final String AUDIT_INSPURE_TAX_ERROR="2010001";
	public static final String AUDIT_INSPURE_LOCAL_NET_ERROR="2010002";//
	public static final String AUDIT_INSPURE_CUST_NBR_ERROR="2010003";//
	public static final String AUDIT_INSPURE_AMOUNT_ERROR="2010004";//
	public static final String AUDIT_INSPURE_MAKE_OUT_DATE_ERROR="2010005";//
	public static final String AUDIT_INSPURE_SEC_CODE_ERROR="2010006";//
	public static final String AUDIT_INSPURE_WASTE_ERROR="2010007";//
	public static final String AUDIT_INSPURE_NOT_EXIST_ERROR="2010008";
	public static final String AUDIT_INSPURE_FINISH_ERROR="2010009";
	public static final String AUDIT_INSPURE_UNKONWN_ERROR="2010010";
	

	public static final String ERROR_BELONG_SYSTEM_INSPURE="W";
	public static final String ERROR_BELONG_SYSTEM_BOSS="S";//BOSS
	

	public static final String SERVICE_SERVICE_STS_ENABLE = "A"; 
	public static final String SERVICE_SERVICE_STS_DISABLE = "N"; 
	public static final String SERVICE_SERVICE_STS_FUTILITY = "C";

	public static final String SERVICE_VERSION_SERVICE_STS_WORK = "N";
	public static final String SERVICE_VERSION_SERVICE_STS_PAUSE = "S";
	public static final String SERVICE_VERSION_SERVICE_STS_EXCEPTION = "E"; 
	public static final String SERVICE_VERSION_SERVICE_STS_FUTILITY = "C";
	public static final String SERVICE_VERSION_SERVICE_STS_REGISTER = "R";	
	public static final String SERVICE_TYPE_PROXY = "P";
	public static final String SERVICE_TYPE_BUSINESS = "B";
	public static final String SERVICE_TYPE_MEDIUM = "M";
	public static final String SERVICE_VERSION_ID_SEQ = "SERVICE_VERSION_ID";
	public static final String SERVICE_MSG_MSG_STS_SUCCESS = "C";
	public static final String SERVICE_MSG_MSG_STS_WAIT = "D";
	public static final String ICON_ID_SEQ = "ICON_ID";
	public static final String OIP_TOPO_IMG_ROOT_ID = "1";
	public static final String AUDIT_ID_SEQ = "AUDIT_RECON_ID";

	public static final String ACTION_LOG_ID_SEQ = "ACTION_LOG_ID";	
	public static final String FACILITY_NODE_ID_SEQ = "FACILITY_NODE_ID";   
	public static final String ATTACH_FACILITY_ID_SEQ = "ATTACH_FACILITY_ID";
	public static final String FACILITY_LINK_ID_SEQ = "FACILITY_LINK_ID";
	public static final String PIPE_HOLE_ID_SEQ = "PIPE_HOLE_ID";
	public static final String PROJECT_ID_SEQ = "PROJECT_ID";

    //资源规格SEQ
	public static final String RES_SPEC_ID_SEQ = "RES_SPEC_ID"; 
	//资源规格目录树SEQ
	public static final String RES_SPEC_TREE_ID_SEQ = "RES_SPEC_TREE_ID"; 
	public static final String RES_SPEC_PRPTY_ID_SEQ = "RES_SPEC_PRPTY_ID"; 
	public static final String RES_PRPTY_VALUE_ID_SEQ = "RES_PRPTY_VALUE_ID"; 
	public static final String RES_PRPTY_ID_SEQ = "RES_PRPTY_ID"; 
	// RES_SPEC_RELATION  SEQ
	public static final String RES_SPEC_RELATION_ID_SEQ = "RES_SPEC_RELATION_ID"; 
	// RES_SPEC_ROLE  SEQ
	public static final String RES_SPEC_ROLE_ID_SEQ = "RES_SPEC_ROLE_ID"; 
	// RES_SPEC_TABLE  SEQ
	public static final String RES_SPEC_TABLE_ID_SEQ = "RES_SPEC_TABLE_ID"; 
	// RES_ROLE_TABLE  SEQ
	public static final String RES_ROLE_ID_SEQ = "RES_ROLE_ID"; 
	// RES_SPEC_ROLE_PRPTY  SEQ
	public static final String RES_SPEC_ROLE_PRPTY_ID_SEQ = "RES_SPEC_ROLE_PRPTY_ID"; 
	//资源规格属性取值域
	public static final String RES_SPEC_PRPTY_DOMAIN_SEQ="RES_SPEC_PRPTY_DOMAIN_ID";
	
	/***资源规格开始******/
	//输入标识
	public static String INPUT_FLAG_IMMEDIATE="I";//I 直接输入
	public static String INPUT_FLAG_RANGE="R";//R 范围值输入
	public static String INPUT_FLAG_ENUMERATE="S";//S 枚举值选择
	public static String INPUT_FLAG_DATE="D";//D 日期型选择
	public static String INPUT_FALG_IP="P";//P  IP型输入
	public static String INPUT_FALG_CHECKBOX="C";//C 复选框输入
	public static String INPUT_FALG_TABLE="M";//实体表弹出窗选择
	
	//取值域取值方式 V 属性值 
	public static String CALL_TYPE_VALUE="V";//V 属性值
	public static String CALL_TYPE_TABLE="T";//T 实体表
	public static String CALL_TYPE_PROCUDURE="P";//存储过程
	public static String CALL_TYPE_JAVA="J";//JAVA方法
	public static String CALL_TYPE_RELATION="S";//关联规格	
	
	//资源规格依赖关系
	public static String RES_PRPTY_RELATION_RELATION_TYPE_DEPEND="D";//依赖关系
	public static String RES_PRPTY_RELATION_RELATION_TYPE_RELATION="D";//关联关系
	
	//资源规格属性 是否可维护
	public static String RES_SPEC_PRPTY_MAINT_STYLE_DE="DE";//容许维护且显示
	public static String RES_SPEC_PRPTY_MAINT_STYLE_DM="DM";//界面显示但只读，系统自动维护
	public static String RES_SPEC_PRPTY_MAINT_STYLE_NM="NM";//界面不显示，系统自动维护
	public static String RES_SPEC_PRPTY_MAINT_STYLE_NN="NN";//不容许维护，也不显示 
	
	
	//资源规格属性取值
	public static String SPEC_TYPE_RES = "RES";//资源规格
	public static String SPEC_TYPE_AREA = "AREA";//区域规格
	
	/***资源规格结束******/

}
